[math] Add convertion from Euler angles to a quaternion.