Raise exception for sparse inputs in the case of svd solver

Fix for #3709 
Ping @agramfort 
Damn it. Thanks for this. I've used this in a lot of places.