replaced fraction addition algorithm with a slightly faster one (no polynomial