New QEI library with position (angle) outputs

Fork of QEI_modified by Chun Feng Huang