Thomas Cook, United States Military Academy