point cloud transformation with coherent nearest neighbors