The Simpsons episode where Homer enters a 3D world is not just a classic animation, it's also a treasure trove of high-end mathematics, writes Simon Singh. Mathematical references and in-jokes are ...