SMS: The representative agent in macroeconomics