refactor, chainig methods, magnitude acceleration, mean filter