Added voronoi calculation.