fixed: was reshuffling stimuli, so the returned randind did not correspond to the original stimuli.