Match Selection and Refinement for Accurate SfM