New localized-orbital method for calculating the electronic structure of molecules and solids: Covalent semiconductors | Synapse