Fixed task 6 plot.