Root finding functions for Julia