I really appreciate it Mike, things are working great now. Thank you so much. I was able to get it to work exactly as you mentioned. I was using this to simulate a 2 dimension problem. I am upgrading my code to a 3D one. I have 8 nested integrals and are all function of phi. Ecatly as the one I described earlier but this time I have 8 integrals instead of 4. I asked the University here to purchase Matlab R 2012b. I need to know the command line to use to run the 8 integrals using "integral2" funtion.
Thank you