SciPy (Scientific Tools for Python) + K-Means + Mahalanobis distance