creates _is_valid_vector and fixes enumeration
fixes lots of tests
Merge branch '16333' of https://github.com/theref/sage-game-theory into 16333