THE ROLE OF A STOCK MARKET IN A GENERAL EQUILIBRIUM MODEL WITH TECHNOLOGICAL UNCERTAINTY