Mechanical analog computers started appearing in the first century and were later used in the medieval era for astronomical calculations. What were analog computers originally used for