Optical and Transport Properties of Disordered Materials by Computer Simulation