Added diffraction calculator