Got k-means to work and bounding box for the clusters