Three- Dimensional Thermal and Electromagnetic Coupled Analysis of Railguns