function out=dh(in)
global choice

if choice==1 | choice==2 | choice==3,
	out=2.*in.*exp(-in.^2/8);
elseif choice==4 | choice==5 | choice==6,
	out=2.*in.*exp(-in.^2/5)*1.5;
end
