Added a resetOnOutput switch to fieldAverage to allow the averaging to be only of the preceding writeInterval for transient cases.