An easy way to calculate a rolling average
This extends the concept explained here: https://docs.arduino.cc/built-in-examples/analog/Smoothing/ into an easy to use class