Calculating the Correlation Coefficient