Restrict saturation to between 0.0 and 1.0

Can't get current code to work correctly for saturation values > 1.0.
Also, apply gamma correction AFTER reducing saturation.