added variable to track cStimOn for all events

Signed-off-by: Lindsey <glickfeld@neuro.duke.edu>