Jacobi Algorythm implemented