Modelling Solar Cell Materials