correction to jacobi iteration.  correction to main loop