Wrote new correlator. Not working well.
Merging with Arnab's executor.