renamed moving average filter to mafilt