Nonlinear Circuits Modeling Neural Networks