Changed number of vertices
Refactored physics.js, separated spatial element of Vertex into its own script