Minor fix to AdvancedJoystick.

Fixed a math error that would have caused the Cube and Sine functions to
always return a positive deadband when given an input within the
deadband range.