function [u] =uscale(u0,lb,ub)
%USCALE Scale function input to its ratio between the lower and upper 
%bounds
u=(u0-lb)./(ub-lb);
end

