add a function to compute the interpolation matrix from tet to obj.