Fixed pulseTrain bug when num_pulses is set to 0
Added subsequent pulses interface to simple_currentclamp