Improved the handling of wavenumbers with negligibly small right-hand sides, and changed the acoustic code to a second kind formulation.