write the wrapper to call rectangular interpolation