Points in the format to cluster [x,y,z,...]
Number of clusters
Optionaloptions: OptionsOption object
'clusters': Array of indexes for the clusters.
'centroids': Array with the resulting centroids.
'iterations': Number of iterations that took to converge
K-means algorithm