add newton numeric solver