bugfig: resolved missing symbol
support for adding state to function callback signature
new flag in Odeoptions which indicates which type of function callback signature to use for TD problems