Fixed the bug where Unit.convert() was returning 0

Fix the bug where Unit.convert() was returning 0 #26