Sample mean and sample covariance