mathematical models of biological and social complexity