Statistical Optimization for Geometric Fitting: Theoretical Accuracy Bound and High Order Error Analysis