Debugging cosine similarity.