Rearranged source code files and implemented more specific haar wavelet transformation.