An accurate computational model to study the Ag-doping effect on SrTiO3