Faster code

Made 'moveJoystick' run faster due to a fast implementation of Math.abs() inlined. Comments also added.