Numerical Calculation and Uncertain Optimization of Energy Conversion in Interior Ballistics Stage