[-] Dimensions: bugfix with units

Default code doesn't make any sense and it prevent to work with units.
Merge pull request #232 from kpodemski/patch-1

[-] Dimensions: bugfix with units. Thanks @kpodemski.