Modeling Optical Lithography Physics