LUT generator based on smooth piecewise linear parameterized function