tested ransac - works for lines; adaptive version needs to be implemented