Reduce unnecessary code.
Swapping/Rotating rail will now update power correctly. (Fixed #3)