fixed HH model stimulus code