Wavelet denoising algorithm to refine noisy geoelectrical data for versatile inversion