Nonlinear Difference Equations: Theory with Applications to Social Science Models