First-principles calculation of entropy for liquid metals | Synapse