bilinear interpolation (gradient 2d)