Update trance.py

Condensed equations, terminal voltage homogeneous