Pearson Correlation Algorithm