Modelling changes in understanding :case studies in physical reasoning