An implementation of the 2D Haar Discrete Wavelet Transform (forward and reverse)