Generating a Response Spectrum from acceleration time history