Mode Function Python Numpy Random