Co-adaptive techniques for closed loop stimulation in humans with ongoing circuit dynamics