Cleanup.
plot_X() can now handle ensembles, use latex interpreter for the legend.
demo_tasks added, all implemented optimization tasks work.