Logging information for indiviual cost functions
I found that it's only possible to get the cost data for the set of cost functions using in an OC problem. However it's very convenient, for debugging and analysing, to get access of each individual derivatives and cost value.
We should figure out a pattern that allows us to do this. Please see a similar topic here: #107 (closed).