added initialization and destruction of MPI data types
added initialization and destruction of MPI data types