fixed a bug and added a function to plot 2d ratio histograms
added settings for the 2d ratio histograms