SMS dit: Mathematical principles of natural philosophy: optics