sim_complex function

Simulate real or complex numbers using polar form