estimateCovariance function

Estimate Covariance Matrix from Residuals