added contined fraction code
added continued fraction based toDouble.  This is much better!
minor