Fixed bug in the computation of the correlation matrix: there was a symmetry problem.