Innovation, demand, and finance in an agent based-stock flow consistent model