gower function

Gower distance (lowlevel function)