Implement the bilinear interpolation.

Not complete.