Euler angle calculations.