Adding Java classes to compute cosine similarity and dice coefficient.