A nonlinear model for the characterization and optimization of athletic training and performance