Added Ridders method for solving for cubic roots