Adding working implementations of Cosine Similarity and Dice
Coefficients.