Kmeans works for 1d data. Will implement support for N-dimensional data