New wavelength

Make wavelength a float instead of an int.

Note not yet complete!