Updated YAW calculation.