Optimizing Decision-Making in a Cerebral Palsy Model Using Reinforcement Learning