Added code for feature reduction using k-means clustering