quick and dirty implementation of nonlinear gauss seidel iteration