Raise exception for sparse inputs in the case of svd solver

Fix for #3709 
Ping @agramfort 
or even better use the global random seed defined at the top.