Modeling biological refractory periods and synaptic depression in an artificial neuron. (5th February 2019)