This converts Euler values into Quaternion.

Euler to Quaternion