fixing sample clock. It now always runs, but the counter will stay at zero until reset is lowered