ma function

Moving-average smoothing