hellinger function

Hellinger distance (lowlevel function)