Recognition

Rejigging recognition to actually do belief updates properly.