fix motor bugs

bug where motor 1 bits were flipped compared to motor 2