All-electron self-consistent variational method for Wannier-type functions: Applications to the silicon crystal | Synapse