Add new refinement parameter: 'max_2nd_solvePnP_outlier_ratio'. It aims to discard adding a new set of triangulated points, if a subset is badly triangulated. However it doesn't really seem to improve results significantly.