Convergence of the Homotopy Perturbation Method