updated 1d cascade factory to remove pad/unpad functions
make wavelet_1d pad/unpad itself