3d engine update, mat4 parsing fix