GeomPTA bug fix, performance improvement, and error message improvement.