Muffin-tin orbitals and molecular calculations: General formalism | Synapse