funct.dist function

Compute functional distance between species