added wavelet option to tfd (blindly w/o testing yet)