added pearson correlation code