getting inverse (1/x) elements of a numpy array,"array = np.array([1, 2, 3, 4])"