Evolution of Motivated Agents