CMOS - Optical simulation methodology