Adding MHD solver and fixing HDF5 io