Implementation for Mac / iOS of Voronoi polygons as described by Amit.