First version Ransac (DOESN'T COMPILE)