Area under the curve calculation fix

- Point (1,1) is now added to calculate the area.