Continued fraction/Arithmetic/G(matrix NG, Contined Fraction N)