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 | choice==6,
	out=1-exp(-in.^2/5)+0.1; 
end
out=out/max(out(:));
