Technological Optimization of the Stirrup Casting Process with the Use of Computer Simulations