looks like a good working implementation of the voronoi approximator
pushing in the first implementation of critical points and lines. Needs a bit more work to be ready