fixed typos in covariance matric