Zaslat SMS: Mathematical methods for optical physics and engineering