function [ y ] = clipu( x )
% Clipper function that clips u(x) outside of our boundaries

if(x<0)
    y = 0;
elseif x > 1
    y=1;
else
    y=round(x);
end
end

