som seems to work now for cyclic topology in input as well as manifold-space. next step will be population coded input