Added output Pcur, Pmax, Pavg.
Added length of each interval.