Now works with PyNN 8.1 beta. Corrected bugs and added notes on further developments.
Added comments for further development, changed parameter name from n to num_neurons for more meaning