Complex function

Real and imaginary manipulation