cor2cov function

Compute covariance matrix