Calculation Of Optical And Vibrational Properties Of Semiconductor Nanostructures