Removed verbositiy, reorganized and sorted a/s/g/d/i-ers, improved naming of several functions, fixed egpairs to egr, added docstrings