Acoustic Waves in Layered Media - From Theory to Seismic Applications