What is the difference between deterministic and non-deterministic agents, and when does each matter?