Changed jacobi to use work array 5/6 like the others
syntax changes to accelerate
fixed terminatiuon criteria for jacobi