Must change from bitwise operator to numpy logical
changed upDown to boolean
calcUnderOvercorrect checks whether boolean
autopilot is working