Statistics for Visual Sensing and Image Processing for Error Detection in Laser Metal Wire Deposition