Compute matrix of correlation coefficients.
If each row of x and y is an observation and each column is a variable, then the (i, j)-th entry of moc_corr (x, y) is the correlation between the i-th variable in x and the j-th variable in y.
If called with one argument, compute moc_corr (x, x), the correlation between the columns of x.