unit scale estimation works correctly now

Unit scaling did not work properly especially not with things like square meters etc
Changes string equality comparisons as well.