nnd function

Nearest Neihgbor Distance