covMatrix function

Covariance matrix