Adding tfidf weighting to term vectors