Fixed coding standards
Fixed conversion for unit-base values
Fixed comments for coding standards
Added testing
Updated documentation