fixed translation matrix to be compatible with opengl

fixed vector transform method to work with new matrix structure
added vector4 structure to hold homogeneous transform result