wrlib: changed Gamma Correction calculation to use single-precision float