Replaced xtrn, xmdl, mtrn by the tiff to plot
Added boxmed.R