create LUT
Creates a monotone cubic spline from a given set of control points.
The spline is guaranteed to pass through each control point exactly. Moreover, assuming the control points are monotonic (Y is non-decreasing or non-increasing) then the interpolated values will also be monotonic.
Throws
if the X or Y arrays are null, have different lengths or have fewer than 2 values.