Zaslat SMS: Theoretical fundamentals of atmospheric optics