It's probably helpful to read the paper for which this code was written:<p>Journal publication:
<a href="http://science.sciencemag.org/content/355/6325/602" rel="nofollow">http://science.sciencemag.org/content/355/6325/602</a><p>ArXiv copy:
<a href="https://arxiv.org/abs/1606.02318" rel="nofollow">https://arxiv.org/abs/1606.02318</a>