Inference Through Embodied Simulation in Cognitive Robots