Extending AOTF-NIR Spectrometer to Gas Measurement