Add get_tolerance().
Use get_tolerance() instead of specifying tolerance directly.
Set  in rcad.rb.
Add missing variable type.