Updated RotarySelector code to increase accuracy.