Crack detection of a beam using the Wavelet Transform