Hipparchus vs Ptolemy and the Antikythera Mechanism: Pin-Slot Device Models Lunar Motions