Computer Simulation and Parameters Optimization of Vacuum Casting