function back=nonlinearity1(x)
%hard nonlinearity
%thresholded at 1 and -1

back=x;
back(x<-1)=-1;
back(x>1)=1;
end
