New Procedure and Index for the Parameter Optimization of Complex Wavelet Based Resonance Demodulation