Halley iterative method