Latest version of my script functions

Streamlined some of the functions, in particular, the voronoi functions
have been cleaned up.