Change batch to track and add docstring.
import wire.track
invert was missing a minus sign