Extending our analysis with cosine similarity