initial version
wrapper used in mahalanobis distance
quadratic_discriminant