fixing typo in nearest_centroid