Added orientation calibration for gun