Raise exception for sparse inputs in the case of svd solver

Fix for #3709 
Ping @agramfort 
2 lines