sRGB to linear conversions
Need to cleanup and modularize the main code.

Signed-off-by: Peter Atashian <retep998@gmail.com>