For two complex numbers of the form a+bi and c+di, IMSUM implements the following equation:
The equation is applied repeatedly depending how many complex numbers are specified in the arguments.