Python Find Nonzero Vectors