Added voronoi prototype.
Fixed bug in twinning.