changed function name for Cosine Similarity