two dimensional linear interpolation