added mat4.multiply

added mat3
refactored some methods in vec3 and vec3i