Source: http://scipp.ucsc.edu/~haber/ph116C/InverseDistance12.pdf