Dynamic Optimization of Spur Gears