function G=Google_matrix(alpha,S)

%% finds the Google matrix G

[a,b]=size(S);
E=(1/b)*ones(a,b);

G=alpha*S + (1-alpha)*E;