change \delta from '4*pi/lambda*n*t*cos(theta)' to '2*pi/lambda*n*t*cos(theta)'