Update measuring tool

Fix for #53