Fixed warnings + RANSAC confidence to double