Added TF-IDF computation