More complete logic gate initialization