Implemented saturation of responses above 10*std and also rounding of stimAmp so as to prevent intermediate values