Mathematical Modeling of Collective Behavior in Socio-Economic and Life Sciences