fixed for one example Jaccard and Mahalanobis