Renamed functions in wavelet code.