Changed units-checking to work on real first argument