minor tweeks to kmeans_analyzer'