Added spectrum amplitude smoothing (used for high values of
amplitude_power )