Hierarchical Linear And Nonlinear Circuits