Cognitive modelling of complex problem solving behaviour