Switched SimilarityFactory back to cosine similarity.