Parallel implementation of the Jacobi algorithm