RunningAverage Class on playground (updated)

hi!

First: Thanks for publishing your code, great work!

I'm using it to filter the input of opto sensors for reading the speed of two dc motors, but since the speed of the motors is variable the cutoff of the filter should too, exist a way to change the amount of samples in the running average on the fly?