fitcovmat function

Estimates the covariance matrix for the Smith's model