sv_dir(G): a function that returns the maximum and minimum singular vectors of G