Analysis of protein loop closure: Two types of hinges produce one motion in lactate dehydrogenase