SCUBA2: the peak value is the sum of the fitted peaks

Return the sum of the peaks of the fitted components if
necessary. This is easier done with an array rather than an array
reference for the retrieved list of amplitudes.