Analysis of electrical transients in power systems via a novel wavelet recursion method