v1.1 - add gauss newton and iterations