added invariant average_vertex_temperature to gt.py