Updated makefile, defined MPI datatype creation for metadata