Charles Doolittle Walcott, Paleontologist