N qbit gate now seems to be functional; tested to work as a Hadamard successfully