Calculates the average value of a moving window buffer of measurement values.
The window buffer grows until it reaches its final size.
Measurement values that are missing due to an error in the check reduce the effective window size until they are moved out again.
Size of the moving window.