Added area_calc.js, refactoring code via bpatchers, adding start point to end point interval processing