Fix issue in PCG solver in algebraic_connectivity

Search direction p was aliased to iterate x when preconditioner M was
None.
Simplify TraceMIN main loop in algebraic_connectivity
Remove gram_schmidt from TrainMIN in algebraic_connectivity