smooth.ma function

Apply a moving average filter