lorentzian function

Lorentzian distance (lowlevel function)