added matrix multiplication and quaternion to Matrix conversion