thx @Sivanszx for the code used to define Arg of z VERY IMPORTANT!!! the output generates in [Ab, Ar], NOT Ab(cos(Ar)+isin(Ar)). it's kind of less confusing that way arg(z) is NOT defined in degrees, it's defined in radians!! example: 1+1i = [1.4142135623730951, 0.7853981633974484] = [sqrt(2), pi/4]