Fixed kNCN. Distance should be counted between current centroid and testSample.