Imaginary number simplification