Artificial Motivation for Cognitive Software Agents (Journal of Artificial General Intelligence, 2020)