con normalisation
add NearestN and KDTree (the former is untested)