adding NearestCentroid classifier