function x_corr = t2u(x)
if x<1
    x_corr=(x.^2)/2;
else
    x_corr=(2-(2-x).^2)/2;
end

