Supplementary materials for: A solution to the learning dilemma for recurrent networks of spiking neurons