Mathematical Structure of Finite Random Cybernetic Systems