Fix latex, simplify code in Ioannidis notebook