Modify DistanceMeasure to extend Function2[Vector, Vector, Double]
Add implicit method
WeightedManhattanDistanceMeasure is converted into trait from abstract class
Add DistanceMetric which inherits from DistanceMeasure

DistanceMetric is not required to satisfy the triangle inequality condition for distance function