added easy recording of agent decision making, thank again to the Logger() class
link to update in matlab tools