Changed ransac interface to be more sensible

Change-Id: I675c82543a05659bb127a3e07d9785b447bec68d