Remove debugging print.
This is more convinient, for the moment at least. Don't think it breaks any examples.
Pass the cost to the post epoch hook.