Optimal Function Approximation For Empirical Look-Up-Table Device Models