Importing k-means clustering