minor cleanups in ransac.py