SMS dit: Mathematical methods for optical physics and engineering