Ex 2F Calculating the correlation coefficient