Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-018-0095-3, published online 20 March 2018.

In the version of this article initially published, equation (10) contained cos Θ instead of sin Θ as the bottom element of the right-hand vector. The error has been corrected in the HTML and PDF versions of the article.