A Theory of the Consumption Function