Welding Process Control Based on a Numerical Model and State-Space Techniques