Finished the moving average filters and made some cmall changes.