[UPDATE] Pearson correlation coefficient. [FIX] bug in covariance. Needed to extract covariance matrix.