STACK - simplification of imaginary numbers