Added saving filters to MATLAB.

Also removed (now redundant) code from
trainSample().