Added jacobi rotations