Made the adaptive algorithm for sensitivity analysis work
Start adaptive function estimation with a number of evenly spaced intervals