added voronoi changes

included voronoi function