update rotator.py to match microwatt rotator.vhdl