fix filter_freq bug - needs to recognize gabor_1d filter type
fix wavemod_1d bug when M > J (empty S)