Fixed translations so they apply locally to the model according to its orientation.
Refactored code to use Vector3d instead of custom Vector and Vertex objects in transformations. Deleted Vertex and Vector classes.