Put the interpolation in its own file so I don't have to edit it in 3 different places. Also made it do inverse distance weighting rather than bilinear interpolation.