add reading globals
make printing matrices nicer with a function
print more detail from information analysis
fix printout tests