Working on code for comparison of corpora with cosine similarity