An fmm call is made to get one part of the integral. Also, added a few variables to represent
parameters of the resampled domain.