Photovoltaic cell and the methods for producing a photovoltaic cell