Improve performance of PCG solver in algebraic_connectivity