Moved algorithm to PowerDiagram.js