use ruby-units rather than our own math