Moved voronoi-code in its own file and function. (Preparing to make it updateable.) Fixed link to d3 library.