Modeling and Optimization of Thin-Film Devices with Si Ge Alloys