Commit version 7.

  * Changed wavelet decomposition/reconstruction code.