Ensemble Density-Functional Theory forAb InitioMolecular Dynamics of Metals and Finite-Temperature Insulators | Synapse