Random matrices and the average topology of the intersection of two quadrics