Sanity check when computing PSD from the FFT.