Area_Under_Curve function

Calculate the Area Under the Curve