fixed efficiency calculations with fixed window
switched to histograms. Added more formatting