Finished threshold draft of tfidf.