Making the haar wavelet generator a little faster by testing earlier.
Adding a new constructor to Haar wavelet that loads the wavelet parameters from a ifs. Hopefully, this will be faster.