Added state as variable passed to Newton Method