Plotting the resolution and virgin branches correctly
Calculates gain properly. Still lacking in titles, ranges.