A 2000-year old Greek computer for calculating eclipses and the positions of the planets in the sky has finally been recreated.