Added pearson correlation function