add cont-frac procedure