-added orientation control to calibration