A Newton-Raphson method for the solution of systems of equations