Fixed duplicate check of numerator in ratio sqrt.

Reported by Olivier Miel
Updated README