Changing output unit to cm; Simplifying drawTextarrow()