NAND gate design in the “Electric” simulator