Add compute global NB method in regiment, and reformat pdf export for regiment.