Fix for #224: Fractional radical simplification

Fix for issue #224.
All the tests pass from #182. So I think this change is okay.