Added sRGB -> linear mapping function.