Fixing wavelength file read to be a short instead of a float