Modelling Interfaces in Thin-Film Photovoltaic Devices