Nonlinear Dynamic Modeling of 3-DOF Gear System with Tooth Contact Temperature