changed stim duration to stimFrameLen

stimFrameLen is the stimuli duration frames; this is applied to duration
dependent if/else statements