Modeling and Optimization of a Photoelectrochemical Solar Hydrogen Cell with TiO2 as a Photo-anode