All the theory that fits.
A new version of this paper, with significant revisions, is now available on SSRN.