Implement Cosine Similarity | TensorTonic