Raise exception for sparse inputs in the case of svd solver

Fix for #3709 
Ping @agramfort 
This should be a `TypeError`. `NotImplementedError` is for inheritance situations where a method is implemented only in the subclass.