Revert "K-means weightp"

This reverts commit 9cc6eeda23e0db5cdaea4756468f439801f5088e.