Added 1-d Newton and secant root finding functions and test code