Numeric.Statistics.Covariance

cov