def toComplexes(results):
    
    """
    For convenience, turn a list of numbers into complex numbers
    [real(r1), imag(r1), real(r2), imag(r2), ... , real(rn), imag(rn)]
    = r1, r2, ... , rn
    """
    
    return [results[i]+results[i+1]*1j for i in range(0, len(results), 2)]