Reverted (again, didn't save) to doubles in gem_utils