added brooks invariant to gt.py