A finite element formulation of muscle contraction : implementation in DIANA