movmean function

Moving mean