Gate: substituted inputs and outputs for _taps.
Added call method for Gate: returns output state
Updated gates tests.