Added bridge balancing algorithms.  WARNING: MANY BUGS.