A parallelized jacobi algorithm