rewrite reinforce-in-synapses with better perf, and improved memory use with persistents i think.