Improvement of precision in spectrochemical analysis by correlation of intensity measurements