add spectral area calculation algorithm for chromatogram