Wavelet Analysis Theory and Matlab Implementation