Text this: General Theory of Light Propagation and Imaging Through the Atmosphere