Moved localRansac method into separate class