added Newton, GaussNewton extensions