The Tech Behind an Invisible Fence