rename of DistanceCosProjection to DistancePlaneProjection + minor improvement of DistanceCalc