Use inverse covariance in mahalanobis distance