Updates

Corner case bug fixed
Global and main renamed to GlobalMPI and MainMPI
Documentation strings added