Simplifying similarity code and reducing memory usage by using gensim's Similarity class. Fixes #10.