Two-dimensional interpolation using a cell-based searching procedure