cythonized interpolate3d code
added unit test for interpolation