Implementation and documentation of ransac (random sample consensus) algorithm.