check_extension function
Curve to lut inital commit