Sped up div by long and added % by long and used in jacobi.