Code for developing a new simulation mode in Nengo, "population mode", which uses surrogate models of ensembles.