implemented Delaunay triangulation and barycentric interpolation with 1 NN