Moving Average Filter – Theory and Software Implementation