Motion Primitive Recognition in Tooth Removal Surgery