linearRealDist and piecewiseLinearDist
Travis