Finished class for rotary encoder. Added documentation.