fourth compile debug pass

not quite sure what to cast it into; its no longer a double, but an mpq.
need more coffee.