added mean calculator and covariance calculator