Revise decoding filters.

Add MATLAB code to allow easy tweaking of filters.