function out=h(in)
global choice

if choice==1 | choice==2 | choice==3,
	out=1-exp(-in.^2/8)+0.1;
elseif choice==4 | choice==5,
	out=1-exp(-in.^2/5)+0.1; 
elseif choice==6 | choice==7,
	out=1-exp(-in.^2/3)+0.1;
elseif choice==8 | choice==9,
        out=1-exp(-in.^2)+0.1;
else
	out=1-exp(-in.^2)+0.1;
end
out=out/max(out(:));
