add complex modified newton's method