adding kmeans for 2dLocalEstimators