fix nsum to handle complex numbers in shanks()
fix nsum to handle complex numbers in shanks()

JensGrabner/mpmath,bjodah/mpmath,JensGrabner/mpmath,fredrik-johansson/mpmath,klkuhlm/mpmath,bjodah/mpmath,klkuhlm/mpmath