Optimization of Process Parameters of Wax Pattern in the Investment