bug fixes (integer error with area calcs), improved and exported function PlotDurationCurve()