BUG: make generic stats filter out illegal shape parameters

This is only a partial fix:
1) not all distributions have properly vectorized _stats.
2) distributions with two or more shape parameters still fail.