Numpy Compare All Elements Powers