Ptolemy in Perspective: Use and Criticism of his Work