BUG: fix Wavelet.wavefun() issue.

Introduced in 177a031981.