Errors and artefacts in agent-based modelling