D/issue23 add measure tool

Fix for #23