Modify the code for "greatest"

- This is necessary to work properly where the joystick outputs are 0-100.
- However, without using "abs" this is obviously now broken for inputs that can be negative.
- I was unable to test that situation but I think the problem may have been the "-50" rather than abs function.