Eigenray sonar simulation in two-layer media