0R1 was waiting for the period to end. Fixed this issue. Now, aR1 commands in quick succession no longer wait for the period to elapse. Removed some unused variables as well.