How to check if all values in the columns of a numpy matrix are the same?,"np.all(a == a[(0), :], axis=0)"