Cleaned up voronoi code a little.