Robotic rehab platform can help predict injury risk