Added rough tf-idf calculations.