gm.compare() works normally, workaround no longer needed. Diff factor has only 2 digits after the decimal point now. Equality == 0, equality == 1 cases handled.