Updated output of cosine similarity