change the variable holding the file name in a function call to fname everywhere
change the variable holding the file name in a function call to fname everywhere, histogram results in hist_inl.meas and hist_ogp.meas
Add title and labels to plotres