Fixed.

Iterative cont-frac is buggy. Recursive cont-frac works correctly.