Spiking allows neurons to estimate their causal effect Lansdell and Kording 2018 modified code from:https://github.com/benlansdell/rdd