Added gnuplot data writer to write frames of an animation
Added animation of differences in cost function.