Estimating Internal Variables and Paramters of a Learning Agent by a Particle Filter