fixed copy problem in mat4 class