Added rollingmean calculation