Before revision:  This paper introduces closed formulas for the calculation of Derrida values of networks governed by Boolean nested canalizing functions, which previously required extensive simulations. Recently, the concept of nested canalizing functions has been generalized to include multistate functions, and a recursive formula has been derived for their number, as a function of the number of variables. This paper contains a detailed analysis of the class of nested canalizing functions over an arbitrary finite field. In addition, the concept of nested canalization is further generalized and closed formulas for the number of such generalized functions , as well as for the number of equivalence classes  under permutation of variables , are derived.
After revision:  This paper introduces closed formulas for the calculation of the Derrida plot, a popular measure of network stability. We also provide a unique canonical parametrized polynomial form of NCFs. This form has several consequences. We can easily generate NCFs for varying parameter choices, and derive a closed form formula for the number of such generalized functions , as well as for the number of equivalence classes under permutation of variables , are derived.