Computing the sample correlation coefficient and the coefficients for the l