Started working on posecell_iteration and visual_template; lots more work still needed