A reactive sputtering system includes a vacuum chamber and a reactive ion source that is positioned inside the vacuum chamber. The control system also includes a state estimator configured to determine estimated physical process states based on the fuzzy indicator. The sample contained within the syringe is emptied into any type of container to test for chemical parameters such as salinity, free available chlorine, pH, total alkalinity and calcium hardness. The determined at least two data elements are replaced with the replacement data element thereby generating a residual data sequence.