Add nearestpoints command