continued fractions functionality enhanced and added to ntheory module