Statistics for The Use of Smart In-Process Optical Measuring Instrument for the Automation of Additive Manufacturing Processes