moved nmf and kmeans around