An Improvement to the Homotopy Perturbation Method for Solving Nonlinear Duffing’s Equations