Test stuff.
Code for using with sofia-kmeans.