Developing an engagement and social interaction model for a robotic educational agent