Changed the way HTCircuitModel handles the binary function
Changed the way HTCircuitModel handles the binary function