An Anti-windup Algorithm Using Orthonormal Haar Functions in Wavelet Packets