Calculate Mode In Python Using Numpy