Damage detection in beam-like structures by using the PCA-method