Added a vector3 class and fixed a lot of syntax errors