The Antikythera Mechanism within the Astronomy and Technology of its time