Almost done, something wierd is happening with the max range.
Fixed slight bug in the code regarding when it will move.
Some more small fixes, BEDMAS dammit.
Clearing out unused code, if someone wants to look at it all of this
is available in the git commit history.
Some more cleanup