linear covariance analysis