Removed all hard-coded epsilons, tolerances, and scaling factors. Used SFINAE to implement Integral with optional tolerance parameter.