Move the gamma function--which is currently a square root--into it's own distinct function. Simultaneously, consider correcting to a bt709 function in book 1 or 2