Original research A stock-flow consistent macroeconomic model with heterogeneous agents: the master equation approach 25 Jun 2018