added standalone version of kmeans++