Efficiency calculations and plottings