Create inputCapture.h

I currently in construction,  compressing the data of the pulse width read Lines 118-183

lines 102-111 can replace it I believe