Fixed a bug with the setting of the Timer/Counter 1 external clock pin. This is  pin 5 on the arduino and needs to be set as INPUT_PULLUP. Previously was not set.