Yes. I have given you two pieces of advice:
1. Isolate the problem into a single, self-contained IML program.
2. Debug and visualize the integrand first before you worry about the integrand.
When you have done these two things, the problem should be apparent. If not, post the reduced and simplified example.
... View more