Added directional toffoli gates.