added mahalanobis distance for list of means