Optimization of Sensor Production by Means of Experimental Design