Correlation-invariance Code for paper "Learning what matters: synaptic plasticity with invariance to input correlations" by Carlos Stein Brito, Wulfram Gerstner