Clustering of Weighted Data