Made bunch of corrections, eg, I signs in te_pair, initiated transient te_pair part, incorporated qxt