tweaks

Plot looks okay-ish? Also it writes to a file at the end (composite
wavelength, flux, and error) for the next group to use. But the error is
wrong currently.