Individual Social Action and Macro Level Dynamics: A Formal Theoretical Model