helper to sphinx frontend
data normalizer
used mahalanobis distance