mkSpCov function

Function for calculating univariate and multivariate covariance matrices