Contagious herding and endogenous network formation in financial networks Discussion paper 23/2014: Co-Pierre Georg