Simulations of neural networks