Modeling Neuronal Firing in the Presence of Refractoriness