Patched mpicollectivecommunication.hh for MPI *v functions and refactored code accordingly.