Feature/distance

* eliminate functions make_segment, make_box2d and make_box3d
* use wkt description for boxes and segments in distance unit tests
* call sqrt with an explicit double argument (VS2012 complains otherwise)