fixed bug in jacobi
Merge pull request #113 from dbickson/master

fixed bug in jacobi