renamed DistanceMeasure to IDistanceMeasure