function x = mcnorm(A, y) x = (A' * A)\(A' * y) endfunction