Modified histfd.m, makepretty.m, and perfHist.m