TIME SERIES DENOISING BASED ON WAVELET DECOMPOSITION AND CROSS-CORRELATION BETWEEN THE RESIDUALS AND THE DENOISED SIGNAL