Compute the gain of the system in steady state.
The function takes either 1, 2, 3, or 4 parameters:
gain – The gain of each output versus each input:
This function is only useful for systems with invertible system matrix
All systems are first converted to state space form. The function then computes: