initialize the Newton method