Generalized controller canonical form for linear and nonlinear dynamics | Synapse