kmeans W2 1d and 2D. removed verbose