A Cognition-based Model for More Forgiving Human-Machine Interactions through Embodied Cooperation