Numpy Array All Function Matlab Code For Eulers Theorem