Working Jacobi rotational method: finding eigenvalues on diagonal