Modeling neural function at the schema level: implications and results for robotic control