Fix curve_to_lut
Add Scratch LUT 1D/2D support
Add Scratch 1D LUT export to curve_to_lut