Optical modeling and simulation methods