John Pecham and the Science of Optics