jeffreys function

Jeffreys distance (lowlevel function)