Robust biomimetic models of human legs to solve high-dimensional real-time control problems