changes to K-means_clustering_ig_to_R.R script