single wavelength complete

next steps, load indices from file, multiple wavelength loops