Added the function interpolate3d that replicates IDL's interpolate.
Interpolates gridded data to a new (possibly irregularly spaced) size.