A computer simulation of muscle-tendon mechanics