Added refractory period and ISI histogram plotting