cleaned some stuff up, verified that the python/c++ difference was the
result of numerical instability (by increasing python precision to
double)  CABS transforms still giving weird results.