Python Complex Number Fitting Pipa