save scores in 3d kmeans