Changed name of the method to more meaningful
Changed similarity parameter type to double.

It used to be a float.
ContextSimilarity metric implementation.