hats_alignSpectra2D function

Align the Spectra in a Spectra2D Object using the HATS algorithm.