added a way to get stockouts from the market. I will probably end up using it in the short run keynesian model since I can't figure out what is the inventory