Fixed error in TG vortex analysis routine.

The order of accuracy was incorrectly calculated in the TG python
script. This has been corrected.