Improving resolution of gravity data with wavelet analysis and spectral method