Use the Newton-Raphson method to solve equations (#81)