fix matrix3f and vector3f constructor