add multiple wavelengths and amplitudes