vector and matric classes

added vec2d vec3d and vec4d as well as 4x4 matrix