Model of the mechanical properties of muscles