Add new parameter to catch exceptions during RANSAC