Add functionality to merge scans
We can encounter two situations: when the scans overlap or not. In the first case, it is possible to do a fit of the spectra to determine the factor needed to overlay the spectra using one of the spectra as a reference. If the scans do not overlap, just concatenate them.