Contributions to the Free Energy of Alkali Metals in Intercalation Compounds