fixed broken unit tests, 1d wavelet was not flattening