Brian Clegg was always fascinated by Isaac Asimov's classic Foundation series of books, in which the future is predicted using sophisticated mathematical modelling of human …