Linear interpolation using 2D lookup table