A Generalization of Newton's Method