Biomechanics applied to computer assisted surgery