Spectral least squares quantification of several atmospheric gases from high resolution infrared solar spectra obtained at the South Pole