Develop

fix errors produced when compiling length and perimeter unit tests with -DGEOMETRY_TEST_DEBUG