implemented and tested LUT interpolation