Added new test for Voronoi diagrams. Fixed bugs.