added averageLoss also to the aggregateLossCurve example
Merge branch 'fix-aal'