Total energies and bonding for crystallographic structures in titanium-carbon and tungsten-carbon systems | Synapse