work on weighted kmeans needed for scalable version