added pearson correlation coefficient function.