Removed caching. Switched to lerp for color mapping.
Unified color mapping code.
Clamp, flip now properties of color_map. Closes #178.
Expose brightness and contrast to API. Closes #183.