Toffoli gate needs work; test fails.
Enforce Operator arity checking through final method apply, changing subclass abstract method to myApply.