Refactored/improved handling of temperature color. Now uses config.temperatureColorStops to populate temperatureColorIndex.