almost finished the math for numeric integration