adds first version of RANSAC - not yet tested
finishes standard RANSAC implementation