cosine similarities calculated correctly