constructed a theory of optics