Changed control1&2 to list of controls in fredkin and toffoli