Working with Quaternions