added load.mgh.R and save.mgh.R