Application of principal component analysis and wavelet transform to fatigue crack detection in waveguides