Removed erroneous check for division that checked if the imaginary term was zero.