Reverse Numpy Array Python Functions