recoded contFrac to check denominators and not let them get too large; machine rounding error was causing them to become inappropriately large; now contFrac will terminate if denominators go past flag(contFracMaxDen)