Updated timeout bounds check
Added seperate readPulse reset now called in main.c