added InputCapture module and changed timers in OS to allow input capture to use timer 0