nndistF function

Nearest neighbour distances as used by Fhat()