added stimulus class predictor preprocessing