Added code to compute TF-IDF for classical k-means.