How long did it take to progress from the abacus to a modern calculator?