Add qiToContinuedFraction