Replaced 2D interpolation with 1D interpolation