Added a list for the total peak areas.
Added calculation of total area.
Added calculation of thresholds.