BUG_FIX: fourier_ratio_deconvolution broken for single spectrum.

As reported in in #294, the fourier ratio method is broken for single spectrum. This PR fixes it.