KMeansCluster k-means clustering, using a ball tree as internal data structure to accelerate the computation. Usage