added basic running average formula