Analysis of the dynamic response of layered, elastic media by means of the Fast Fourier Transform