Configurational Mechanics of Muscle Contraction