Fix unit test, diffraction length equation update

as diffraction attenuation was overestimated before 2e4ed81bfa02472df42aac09c6a513f939d81132