Model-based optimisation for the personalisation of robot-assisted gait training