Decoding the Mechanisms of Antikythera Astronomical Device