Physics of Neural Networks