Impact of metal gate work function variability and reliability on MOSFETs and theory and application of topological insulators