created vector math class in rescouces in order to reduce the amount of code in myScene.m