Changed 'DotProductDistance ' to 'VectorDistance' (...comparators.,
DOT_PRODUCT_DISTANCE to VECTOR_DISTANCE
(utilities),'historgram'-->'histogram' in comments.