Better wavelength function support, add color temperature curve