Initial delaunay code