Vineet, here is the code for input to mathematica, use mathematica_secondrows in symplectic_gt.py, outputs a string which is a list of gt secondrows with all the right curly braces