Modeling of Optical Properties of Semiconductor Heterostructures