Greatly shortened amount of code for MPI wrappers