Nonlinear network analysis and design