Simulation and statistical tools for clinical biomechanics