Rename typedefs in moving average
Added median filter based on stupid list implementation