Fix tabs in k-means clustering