the greco egyptian scientists who perfected the system of equants deferents and epicycles for explaining planetary motion was