extend the box in kdtree
remove all printing in fortran
update tmp loess to find cell for each vertex
update tmp loess to calculate the derivatives