Add MPI_Datatype definitions. Several errors to fix.