Improvements for RANSAC

Backwards-compatible, same behavior as before.