Automatic fault detection in Friction Stir Welding