added code for yaw calibration