Newton-Raphson method added.