This is the addition of th two root find functions.

The functions are not fully documented but work fine. The comparissons will be added in the next commit.