[RANSAC] Working ransac with menu connection