Experimenting with tweaking the Euler angles so that z, rather than y, is in
[-pi/2, pi/2].