Closed-Loop Feedback Controlled Data Acquisition System for Ensemble Averaging Repetitively Scanned Spectra with Wavelength Modulation