Various fixes, also somehow working delaunay triangulation. Few bugs persists.