A pivot-ordering algorithm for minimizing computation time in transient circuit analysis