Geometric Primitive Fitting Tools