Algorithm added for calculationg covariance and means
Algorithm added for calculationg covariance and means