Working (with skewness only). Will implement other metrics, e.g. L2 norm and kNN classifier.