Added cosine similarity ranker