Make _make_gamma_lut() public

Replaces #800.

Should `_make_linear_lut()` also be public?
These should be updated.