Fix for #224: Fractional radical simplification

Fix for issue #224.
Did you forget to write some test for this `r1`? You assign to `r1` again below.