Removed pivot code due to incorrect readings from the joystick