serial and parallel wavelet transform code with little example