Understanding how the brain predicts could make treating autism easier