Fixed Mahalanobis tests