Combination of Jacobi and gauss-siedal