N20 Motor Rotary Encoder Counting Problem