Remaining ternary gate symbols added