Changed kmeans_stability to be able to accept a single clustering list.